import axios from "../utils/request.js"
export default {
    getCarousel(data={}){
        return axios({
            url: "/api/resources/carousel",
            method: "POST",
            data: data
        })
    },

    getHotProduct(data={}){
        return axios({
            url: "/api/product/getHotProduct",
            method: "POST",
            data: data
        })
    },

    getPromoProduct(data={}){
        return axios({
            url: "/api/product/getPromoProduct",
            method: "POST",
            data: data
        })
    }
}
